//
//  ZYCTeachLearningPaperModel.h
//  ZDSC
//
//  Created by ZDTX on 2021/9/2.
//

#import "ZYCBaseModel.h"

NS_ASSUME_NONNULL_BEGIN


@interface ZYCAnswerModel : ZYCBaseModel

@property (nonatomic, copy) NSString *subjectItemId;
@property (nonatomic, copy) NSString *content;
@property (nonatomic, copy) NSString *deleted;
@property (nonatomic, copy) NSString *sortNum;
// 简单题是否作答
@property (nonatomic, copy) NSString *allAnswerContent;
// 是否选择 (0 : 未选择 1: 选择)
@property (nonatomic, assign) NSInteger checkFlag;
@property (nonatomic, copy) NSString *subjectType;
@property (nonatomic, copy) NSString *quSubjectId;
@property (nonatomic, copy) NSString *answerCount;
@property (nonatomic, assign)CGFloat titleHeight;

@end

@interface ZYCSubjectModel : ZYCBaseModel

@property (nonatomic, copy) NSString *sortNum;
//评教评学主键
@property (nonatomic, copy) NSString *quEvalutionId;
//题目id
@property (nonatomic, copy) NSString *quSubjectId;
@property (nonatomic, copy) NSString *subjectTitle;
@property (nonatomic, copy) NSString *updateTime;
//subjectType 题目类型（1：单选题；2：多选题；3：简答题）
@property (nonatomic, copy) NSString *subjectType;
@property (nonatomic, copy) NSString *subjectTypeStr;
@property (nonatomic, copy) NSString *deleted;

@property (nonatomic, copy) NSString *createTime;
@property (nonatomic, strong) NSArray *selectAnswer;
// 选项
@property (nonatomic, strong) NSArray <ZYCAnswerModel *>*subjectItemVoList;
@property (nonatomic, copy) NSString *answerContent;

// 是否作答 (0: 未作答 1: 作答)
@property (nonatomic, assign) NSInteger isPaper;

@end
@interface ZYCTeachLearningPaperModel : ZYCBaseModel<NSCoding>

@property (nonatomic, copy) NSString *userScopeList;
@property (nonatomic, copy) NSString *quEvalutionId;
@property (nonatomic, copy) NSString *answerList;
@property (nonatomic, copy) NSString *createBy;
@property (nonatomic, copy) NSString *semesterId;
@property (nonatomic, copy) NSString *createById;
@property (nonatomic, copy) NSString *publishStatus;
// 题目列表
@property (nonatomic, strong) NSArray <ZYCSubjectModel *>*subjectVoList;
@property (nonatomic, copy) NSString *semesterName;
@property (nonatomic, copy) NSString *linkCode;
@property (nonatomic, copy) NSString *finishSaveFlag;
@property (nonatomic, copy) NSString *evaluateLink;
@property (nonatomic, copy) NSString *publishStatusName;
@property (nonatomic, copy) NSString *createTime;
@property (nonatomic, copy) NSString *remark;
@property (nonatomic, copy) NSString *deleted;
@property (nonatomic, copy) NSString *checkRate;
@property (nonatomic, copy) NSString *evaluateTitle;
@property (nonatomic, copy) NSString *evaluateType;
@property (nonatomic, copy) NSString *updateTime;
// 是否做完
@property (nonatomic, assign) BOOL isDone;
@end

NS_ASSUME_NONNULL_END
